package com.hieu.sms.model;

import java.io.Serializable;

public enum TransactionType implements Serializable{
	PURCHASE("01","Purchase"),
	PURCHASE_CANCELLATION("31","Purchase cancellation"),
	PRE_AUTHORIZATION("02","pre-authorization"),
	PRE_AUTHORIZATION_CANCELLATION("32","Pre-authorization cancellation"),
	PRE_AUTHORIZATION_COMPLETION("03","Pre-authorization completion"),
	PRE_AUTHORIZATION_COMPLETION_CANCELLATION("33","Pre-authorization completion cancellation"),
	REFUND("04","Refund"),
	VERIFY_REAL_NAME("71","Verify the real name");
	
	private final String code;
	private final String description;
	
	TransactionType(String transCode, String transDes){
		this.code = transCode;
		this.description = transDes;
	}

	public String getCode() {
		return code;
	}

	public String getDescription() {
		return description;
	}

}
